class Node(object):
	def __init__(self, v, nx):
		self.v = v
		self.nx = nx
	def __str__(self):
		return str(self.v) + " -> " + ("*" if self.nx==None else str(self.nx))
